import { get, post } from '@/utils/request'

export const list = (query) => {
  return get('/en/reg/list', query)
}

export const add = (query) => {
  return post('/en/reg/addPcInfo', query)
}
export const del = (query) => {
  return get('/en/reg/delete', query)
}
export const edit = (query) => {
  return post('/en/reg/editPcInfo', query)
}
export const queryById = (query) => {
  return get('/en/reg/queryById', query)
}
export const transRole = (query) => {
  return get('/en/reg/transRole', query)
}
